﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GenIX
{
    public partial class NewTypeForm : Form
    {
        public bool select = false;
        public NewTypeForm()
        {
            InitializeComponent();

        }
        public void IniList(string[] list)
        {
            
            this.comboBox1.Items.AddRange((string[])list);
            if (list.Count() > 0) comboBox1.SelectedItem = comboBox1.Items[0];
        }
        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

        private void button2_Click(object sender, EventArgs e)
        {
            select = false;
            this.Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {

            select = true;
            this.Close();
        }

        private void NewTypeForm_Load(object sender, EventArgs e)
        {
            Styleform.SelectElement(this, Styleform.choseStyleName);
        }
    }
}
